switch

This block is part of the field validation group and was last modified in core v12.0.5.

switch v12.0.5

Returns a given validation based on the connected expression

In pins 2
  • expression required
    value

    The expression to be evaluated

  • Default
    fieldvalidation

    The default validation to be returned if no match was found

Out pins 2
  • fieldvalidation
    fieldvalidation
  • match
    condition

    Returns true in case a match was found.

A typical wiring for switch: value feeds the value pin; the fieldvalidation out pin feeds radio.

Studio canvas example for the switch block: typical wiring for switch.

Version history

Introduced in v12.0.5.


Back to field validation Return to the main group to view all sub-groups Back to validation Return to the group to view all blocks within this group